//
//  THEmptyView.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 HZMengLiao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "THEmptyViewAnimateProtocol.h"
NS_ASSUME_NONNULL_BEGIN

@interface THEmptyView : UIView

@property (nonatomic,retain) UIImageView *imageView;
@property (nonatomic,retain) UILabel *textLable;
/// lodingView,Default is UIActivityIndicatorView
@property (nonatomic,retain) UIView<THEmptyViewAnimateProtocol>*lodingView;
/// reloadButton,Default reloadButton.hidden == YES
@property (nonatomic,retain) UIButton *relaodButton;

- (void)showLodingView:(UIView<THEmptyViewAnimateProtocol>*)lodingView;

- (void)showEmptyText:(NSString*)text;
- (void)showEmptyImageName:(NSString*)imageName;

- (void)showBtnWithSEL:(SEL)sel target:(id)target;
- (void)showBtnWithSEL:(SEL)sel target:(id)target btnTitle:(NSString*)btnTitle;

@end

NS_ASSUME_NONNULL_END
